package com.anytron.domain.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.anytron.domain.api.DescClient;

@RestController
public class DomainController {

	@Autowired
	private DescClient descClient;

	@RequestMapping("/consumer")
	public String showInfo(@RequestParam String name) {
		return descClient.consumer(name);
	}
}
